package com.start.pay.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.start.pay.core.model.StartBasePayCallLog;
import lombok.Data;

@Data
@TableName("start_order_refund_call_log")
public class StartOrderRefundCallLogEntity extends StartBasePayCallLog {

    public static StartOrderRefundCallLogEntity createLog(String platformType, String appId, String platformCallData) {
        StartOrderRefundCallLogEntity log = new StartOrderRefundCallLogEntity();
        log.setPlatformType(platformType);
        log.setAppId(appId);
        log.setCallBackData(platformCallData);
        return log;
    }
}
